<#assign classDesc = "实体">
<#include "/java_copyright.include">
package ${entity};

import lombok.Data;
import lombok.EqualsAndHashCode;
import ${basepackage}.core.beans.entity.BaseEntity;
import java.util.Date;
import ${basepackage}.utils.DateUtil;
<#include "/java_comments.include">
@Data()
@EqualsAndHashCode(callSuper = false)
public class ${className}Entity extends BaseEntity{
    private static final long serialVersionUID=1L;
    <#list table.columns as column>
    //${column.columnRemark}
    private ${column.javaType} ${column.javaField};
    </#list>


<#list table.columns as column>
<#if column.dateColumn>
    public String get${column.columnName}Str() {
        return DateUtil.limitDay(this.${column.javaField});
    }
</#if>
</#list>

}
